package com.tran.app

import android.app.Application
import android.content.Context
import androidx.datastore.core.DataStore
import androidx.datastore.preferences.preferencesDataStore
import com.orhanobut.logger.AndroidLogAdapter
import com.orhanobut.logger.Logger
import java.util.prefs.Preferences

class MyApp :Application() {
    companion object{
        lateinit var instance:MyApp
        lateinit var user:String
        lateinit var work:String
        lateinit var realName:String
    }
    override fun onCreate() {
        super.onCreate()
        instance = this
        Logger.addLogAdapter(AndroidLogAdapter())
    }
}